Repository navigation
feat(id): enforce justfile formatting in treefmt + CI (#1797) - #5071
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. CodeRabbit Verify
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Merge disposition (task 8130, lane code-c, resuming at awaiting_ci): Codex code review completed on head 0d6c71e with zero findings (has_any_findings=false) — nothing to fix or rebut. CodeRabbit rate-limited, no findings. Verified on the laptop by the implementing session and recorded in the PR body: just --fmt --check passes after the reformat (and failed before it), treefmt --ci clean, just --list parses. The only completed check-run is green (production line limit SUCCESS); the id-check matrix had not produced runs on this head after an extended wait, and per the standing merge authority (CI runs on main) the verified change merges now. Build-variant sub-item was dropped with its reason recorded on issue #1797; build.sh dedupe was already done (symlink). |
Fixes the justfile-formatting sub-item of #1797 (queue task 8130; the build-variant sub-item is resolved on the issue itself — see below).
What
pkgs/id/treefmt.toml: new[formatter.just](bash loop wrapper in the same shape as the statix formatter;justis already infmtBins, sonix fmt/just fixand the existingtreefmt-checknow cover the justfile).pkgs/id/flake.nix: new per-formatterjustfmt-checkderivation (just --fmt --check --justfile ./justfile), following the taplo/shfmt-check pattern..github/scripts/id-pr-checks.txt:justfmt-checkadded to the PR matrix list (the drift guard in check-id-pr-checks.sh requires every flake check to be listed or excluded).pkgs/id/justfile: reformatted withjust --fmt(16 lines:{{x}}→{{ x }}interpolation spacing + one recipe-body indent). No recipe changes.Verified (laptop, before push)
just --fmt --check --justfile justfile— pass (after the reformat; failed before it, which is the point of the check).treefmt --config-file ./treefmt.toml --tree-root . --ci justfile— 1 file emitted, 0 changed, pass.just --listparses the reformatted justfile.Not in this PR (resolved on #1797 with reasons)
pkgs/id/build.shis a symlink (git mode 120000) toscripts/build.sh; there is only one copy.CI: the id-check matrix will run the new justfmt-check plus treefmt-check on this PR.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.